package com.nine.shop;


import com.nine.shop.service.OrderService;
import com.nine.shop.utils.MD5Util;
import org.junit.Test;


/**
 * @Auther: wangcong
 * @Date: 2019/8/23 14:48
 * @Description:
 */
public class test {


    @Test
    public  void main() {
        String n="123";
        System.out.println(MD5Util.MD5EncodeUtf8(n));
    }
    @Test
    public void OrderServiceTest(){
       OrderService orderService=new OrderService();
//        Order order =new Order();
//        order.setId(588);
//
//
//        String dateString= DateFormatUtil.getOnlyDayTime();
//        java.sql.Date sqlDate=java.sql.Date.valueOf(dateString);
//
//        order.setCreateDate(sqlDate);
//        order.setStatus(9);
//        order.setUserId(10);
//        order.setGoodsId(888);
//        order.setAmount(50);
//        order.setCost(66.22);


        System.out.println(orderService.delectOrderById(6));


    }
}
